package me.zhengjie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import me.zhengjie.common.vo.PageVo;
import me.zhengjie.common.vo.Result;
import me.zhengjie.common.vo.SearchVo;
import me.zhengjie.entity.TZhsqBottomTool;

import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dengjie
 * @since 2021-08-24
 */
public interface ITZhsqBottomToolService extends IService<TZhsqBottomTool> {
    /**
     * 功能描述：根据主键来获取数据
     *
     * @param id 主键
     * @return 返回获取结果
     */
    public TZhsqBottomTool getTZhsqBottomToolById(String id);

    /**
     * 功能描述：实现分页查询
     *
     * @param tZhsqBottomTool 需要模糊查询的信息
     * @param searchVo       排序参数
     * @param pageVo         分页参数
     * @return 返回获取结果
     */
    public Result<Object> queryTZhsqBottomToolByPage(TZhsqBottomTool tZhsqBottomTool, SearchVo searchVo, PageVo pageVo);

    /**
     * 功能描述： 导出
     *
     * @param tZhsqBottomTool 查询参数
     * @param response       response参数
     */
    public void download(TZhsqBottomTool tZhsqBottomTool, HttpServletResponse response);

    /**
     * 功能描述：模糊查询所有信息
     *
     * @return 返回获取结果
     */
    public Result<Object> queryAllList(TZhsqBottomTool tZhsqBottomTool);
    /**
     * 获取树数据
     * @return
     */
    Map<String,Object> getTreeData();
}
